package graphics.base;

public class Point3D {
	public float x;
	public float y;
	public float z;

	public Point3D() {
	}

	public Point3D(float x, float y, float z) {
		this.x = x;
		this.y = y;
		this.z = z;
	}

	public void set(float x, float y, float z) {
		this.x = x;
		this.y = y;
		this.z = z;
	}

	public boolean equals(Object obj) {
		if (obj instanceof Point3D) {
			Point3D p = (Point3D) obj;
			return x == p.x && y == p.y && z == p.z;
		}
		return false;
	}
}
